<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var arr = [
            {id:1001,name:"觉得废89708话"},
            {id:1002,name:"djskfhbeior儿童"},
            {id:1002,name:"觉得废fhe34话"},
        ]
        var res = arr.map(item=>{
            var reg = /\w/g
            return item.name.replace(reg,"")+"...";
        })
        console.log(res)
    </script>
</body>
</html>